<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>员工信息查询</title>
    <meta content="text/html; charset=utf-8" http-equiv=content-type>
    <meta name=author content='zhong'>
    <meta name=keywords content="员工 信息 显示 查询">
    <meta name=description content=员工信息查询>
    <link rel=stylesheet type=text/css href="rs/default.css" media=screen>
    <script type=text/javascript src="rs/jQuery.js"></script>
    {% if not isDownload %}
    <script type=text/javascript src="rs/build.js"></script>
    {% else %}
    <script type=text/javascript src="rs/out.js"></script>
    {% endif %}

</head>
<body>
{% comment %}
{% if not isDownload %}
<div id="divTip" align="center">
  <a href="#" id="cloceDivTip">关闭</a>
  <span id="divInfo">服务器处理中...</span>
</div>

<div id='addDelSpan'>
    <img id='addImg' title='添加' alt='添加' src="rs/add.gif">
    <img id='delImg' title='删除' alt='删除' src="rs/del.gif">
</div>
{% endif %}
{% endcomment %}

<div id='container'>
    <h1 align=center>凤城供电分公司职工通讯录({{ cates.empCount }})</h1>

    <p style="text-align: center; color: rgb(0,51,204); font-size: 11pt">
        <marquee width=355 scrollamount=2 scrolldelay=1>请认真核对通讯录内容，如有不符，请与文昱联系修改（联系电话：2033/8266960）。</marquee>
    </p>
    <div id='tabs'>
        <ul id='topTabs'>
            <div class=sw_qbox>
                {% if not isDownload %}
                <a id='adminSpan' href="/admin">管理</a>
                <a id='downloadSpan' href="/download">下载</a>
                {% endif %}
                {% comment %}
                {% if not isDownload %}
                <span id='editSpan'>编辑</span>
                <span id='saveSpan'>保存</span>
                <span id='cancelSpan'>取消</span>
                {% endif %}
                {% endcomment %}
                <label for="sb_form_q">搜索:</label>
                <input id=sb_form_q title='请输入您的过滤条件' name='q'/>
            </div>

            {% for cate in cates %}
                <li tabIndex='{{ forloop.counter }}'><a hidefocus='true' href="#"><span>{{ cate.name }}</span></a></li>
            {% endfor %}
        </ul>
        <div style="z-index: 99; display: block" id='menuList'>
            {% for cate in cates %}
                <ul id='childId{{ forloop.counter }}' class='menu'>
                    {% for dep in cate.deps %}
                        <li><a hidefocus='true' href="#{{ cate.name }}-{{ dep.name }}"><span>{{ dep.name }}</span></a></li>
                    {% endfor %}
                </ul>
            {% endfor %}
        </div>
        <table class='mytable' border='0' cellspacing='0' cellpadding='3' width="100%">
            <thead>
            <tr>
                <th style="width: 6%" rowspan=2>序号</th>
                <th style="width: 15%" rowspan=2>岗位名称</th>
                <th rowspan=2>姓名</th>
                <th style="border-bottom: medium none" colspan=2>&nbsp;</th>
                <th rowspan=2>手机</th>
                <th rowspan=2>短号</th>
                <th rowspan=2>住宅电话</th>
                <th rowspan=2>备注</th>
            </tr>
            <tr>
                <th style="border-top: medium none; border-right: medium none"><span>内线</span></th>
                <th style="border-top: medium none">外线</th>
            </tr>
            </thead>
        </table>
    </div>
    <div style="height:95px;" id='clearDivID'></div>
    <table class='mytable' border='0' cellspacing='0' cellpadding='3' width="100%">
        <tbody id='empList'>
        {% for cate in cates %}
            {% for dep in cate.deps %}
                <tr>
                    <td colspan='9' align='middle'>
                        <a name="{{ cate.name }}-{{ dep.name }}"></a>{{ dep.name }}
                    </td>
                </tr>
                {% for emp in dep.emps %}
                    <tr id="empId{{ emp.id }}">
                        <td style="width: 6%">{{ emp.order|default:"&nbsp;" }}</td>
                        <td style="text-align: left; width: 15%"><span>{{ emp.post|default:"&nbsp;" }}</span></td>
                        <td><span>{{ emp.name|default:"&nbsp;" }}</span></td>
                        <td><span>{{ emp.inner|default:"&nbsp;" }}</span></td>
                        <td><span>{{ emp.outer|default:"&nbsp;" }}</span></td>
                        <td><span>{{ emp.mobile|default:"&nbsp;" }}</span></td>
                        <td><span>{{ emp.short_tel|default:"&nbsp;" }}</span></td>
                        <td><span>{{ emp.telephone|default:"&nbsp;" }}</span></td>
                        <td><span>{{ emp.remark|default:"&nbsp;" }}</span></td>
                    </tr>
                {% endfor %}
                <tr>
                    <td colspan='9'>&nbsp;</td>
                </tr>
            {% endfor %}
        {% endfor %}
        </tbody>
    </table>
</div>
</body>
</html>
